-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NayNay] Updating faucet amount #258
Conversation
…unning into an issue with tape possibly, commented test out for now
// Sending only 1e10 BITS does not allow user's to register after receiving funds | ||
// there are limits in place to ensure user's are leftover with a certain balance in their accounts | ||
// increasing amount send here, will allow user's to register right away | ||
const amount = "20000000000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💛
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good job writing docs!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great thank you
// Sending only 1e10 BITS does not allow user's to register after receiving funds | ||
// there are limits in place to ensure user's are leftover with a certain balance in their accounts | ||
// increasing amount send here, will allow user's to register right away | ||
const amount = "20000000000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good job writing docs!
@@ -7,4 +7,5 @@ export const FAUCET_PROGRAM_MOD_KEY = '5GWamxgW4XWcwGsrUynqnFq2oNZPqNXQhMDfgNH9x | |||
// this is differnt from tests because the fauce that is live now was lazily deployed without schemas | |||
// TO-DO: update this when faucet is deployed properly | |||
export const TESTNET_PROGRAM_HASH = '0x12af0bd1f2d91f12e34aeb07ea622c315dbc3c2bdc1e25ff98c23f1e61106c77' | |||
// Hash with max send of 1e10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💛
@@ -8,21 +8,18 @@ import { EntropyFaucet } from '../src/faucet/main' | |||
import { LOCAL_PROGRAM_HASH } from '../src/faucet/utils' | |||
import { EntropyAccount } from '../src/account/main' | |||
|
|||
test('Faucet Tests', async t => { | |||
async function setupAndFundFaucet (t, naynayEntropy) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this function into dev
dir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do this in a different pr though i'll merge this in now
// TODO: @naynay fix below test for register failing when only sending 1e10 bits | ||
// test('Faucet Tests: Successfully send funds but cannot register', async t => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this also be an issue?
Related Issue(s)
Proposed Changes
Testing
Screenshots (if applicable)
Additional Context
Checklist
CHANGELOG.md
entry.github.com:entropyxyz/entropy-docs
, where necessary.